#ifndef CURVERANGEDIALOG_H
#define CURVERANGEDIALOG_H

#include <QDialog>

class RangeDialog : public QDialog
{
    Q_OBJECT
public:
    struct Range
    {
        double xMin;
        double xMax;
        double yMin;
        double yMax;
    };

    RangeDialog(RangeDialog::Range &range, QWidget *parent = nullptr);

signals:
    void setRange(RangeDialog::Range range);
};

Q_DECLARE_METATYPE(RangeDialog::Range);

#endif // CURVERANGEDIALOG_H
